/**
 * Created by liguangsong on 16/8/15.
 */
$(document).ready(function() {
    $("button").click(function() {
        window.location.href = "/goodList/";
    });


    var array = {
        count: 5
    };

    var number = 50;
    testNumber(number);
    console.log(number);

    test(array);
    console.log(array);

});


function testNumber(number) {
    number = 20;
}

function test(array) {
    array.count = 3;

}

